import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

import store from './store/index.js'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// 初始化样式表
import '@/assets/styles/index.scss'
import JsonViewer from 'vue3-json-viewer'
// import "jsoneditor";
import 'element-plus/theme-chalk/el-loading.css';
import 'element-plus/theme-chalk/el-message.css';

const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.use(router).use(JsonViewer).use(store).mount('#app')


